import { View } from '@tarojs/components'

interface CardProps {
  property:string,
  name:string,
  desc:string
}

export default function Card(props: CardProps) {
  const {property,name,desc} =props
  return (
     <View className='playground'>
      <View className='property'>
        <View className='code'>动画改变的属性：{property}</View>
        <View className='show'>
          <View className={`box ${name}`}></View>
          <View className='desc'>{desc}</View>
        </View>
      </View>
    </View>
  )
}